package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.TenantInfo;
import com.ruoyi.system.mapper.TenantInfoMapper;
import com.ruoyi.system.service.TenantlnfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TenantInfoServiceImpl implements TenantlnfoService {
    @Autowired
    private TenantInfoMapper tenantInfoMapper;
    @Override
    public boolean saveTenantInfo(TenantInfo tenantInfo) {
        int rows = tenantInfoMapper.insert(tenantInfo);
        return rows > 0;
    }
}
